package com.lnking.lnkingplace.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.lnking.starter.mybatis.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangqt
 * @since 2022-09-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="RecordMedicalWasteSterilize对象", description="")
public class RecordMedicalWasteSterilize extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "场所id")
    private String placeId;

    @ApiModelProperty(value = "空气消毒开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime airStartTime;

    @ApiModelProperty(value = "空气消毒结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime airEndTime;

    @ApiModelProperty(value = "温度")
    private Integer temperature;

    @ApiModelProperty(value = "湿度")
    private Integer humidity;

    @ApiModelProperty(value = "累计时长")
    private Integer totalTime;

    @ApiModelProperty(value = "物体表面消毒时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime objectStartTime;

    @ApiModelProperty(value = "地面是否消毒")
    private String ground;

    @ApiModelProperty(value = "墙面是否消毒")
    private String wallSpace;

    @ApiModelProperty(value = "盛装桶")
    private String bucket;

    @ApiModelProperty(value = "灯管擦拭消毒")
    private String modulatorTube;

    @ApiModelProperty(value = "执行人员")
    private String operationalStaff;

    @ApiModelProperty(value = "督查人员")
    private String inspectors;

    @JsonIgnore
    private Boolean delFlag;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty("图片")
    private String photos;

    @ApiModelProperty("消毒区域")
    private String region;
}
